package com.tledu.dangjian.service.impl;

import com.tledu.dangjian.dao.IResourcesDao;
import com.tledu.dangjian.model.Resource;
import com.tledu.dangjian.service.IResourcesService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ResourceServiceImpl extends BaseServiceImpl<Resource, IResourcesDao> implements IResourcesService {
    public ResourceServiceImpl(IResourcesDao resourceDao) {
        super(resourceDao);
    }

    @Override
    public List<Resource> listByRoleIds(List<Integer> roleIdList) {
        return baseDao.listByRoleIds(roleIdList);
    }
}
